package com.guchenbo.example.filter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class GcbFilterAdd1 implements GcbFilter{
    protected static final Logger log = LoggerFactory.getLogger(GcbFilterAdd1.class);

    @Override
    public void doFilter(GcbFilterReq req, GcbFilterChain filterChain) {
        log.info("in filter add1");
        req.setCnt(req.getCnt() + 1);
        filterChain.doFilter(req);
    }
}
